package com.zerui.manager.openplan.task;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.DelayQueue;

/**
 * @Author wh
 * @create_time 2023-09-02 15:28
 */
@Configuration
public class OpenPlanTaskConfig {

    @Bean
    public DelayQueue<OpenPlanDelayTask> openPlanDelayQueue(){
        return new DelayQueue<>();
    }

}
